package com.example.mapper;/**
 * @author wangXiao
 */

import com.example.entity.QueryPermissionVo;
import com.example.entity.SysUser;
import com.example.intercepter.MyOrg;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Description: TODO
 * @Author wangXiao
 * @Date 2021/9/6 
 **/
@Mapper
public interface UserMapper{

    @MyOrg
    List<String> selectUser(Map<String,Object> param);

    SysUser selectUserByName(String name);

    List<QueryPermissionVo> getAllMenuList();

    List<String> getDataSourece1();

    List<String> getDataSourece2();

    void insertUser(@Param("id")String id);
}
